| Title | Yash Pokharna StudentManagementSystem 1.0 IDOR + SQL Injection |
|---|
| Description | The studentdel.php endpoint lacks any form of authentication or authorisation (no inclusion of session.php and no call to confirm_logged_in()). It directly takes the $_GET['id'] parameter and embeds it into a DELETE SQL query using string concatenation.
Because there is no session validation and no input sanitisation, an unauthenticated attacker can:
Delete a single student record by guessing or enumerating its ID.
Exploit the SQL injection to delete all records from the database (e.g., using id=9999 OR 1=1).
This effectively allows a remote attacker to wipe the entire student data set without any credentials. |
|---|
| Source | ⚠️ https://github.com/yashpokharna2555/StudentManagementSystem/issues/5 |
|---|
| User | Xuns (UID 96762) |
|---|
| Submission | 04/27/2026 10:59 (2 months ago) |
|---|
| Moderation | 05/24/2026 11:12 (27 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 365455 [yashpokharna2555 StudentManagementSystem up to cb2f558ddf8d19396de0f92abf2d224d46a0a203 /studentdel.php confirm_logged_in ID sql injection] |
|---|
| Points | 20 |
|---|